<aside class="lyear-layout-sidebar">

    <!-- logo -->
    <div id="logo" class="sidebar-header" style="height: 68px">
        <a href="index.html"><img src="/images/logo.png" title="LightYear" alt="LightYear" /></a>
    </div>
    <div class="lyear-layout-sidebar-scroll"> 
      
      <nav class="sidebar-main">
        <ul class="nav nav-drawer">
            <% if(locals.path=='/admin'){ %>
              <li class="nav-item active"> <a href="/admin"><i class="mdi mdi-home"></i> 后台首页</a> </li> 
            <% }else{ %>
               <li class="nav-item"> <a href="/admin"><i class="mdi mdi-home"></i> 后台首页</a> </li>
            <%}%>
        
            <% if(locals.path=='/admin/listuser'){ %>
               <li class="nav-item active">
                <a href="/admin/listuser"><i class="mdi mdi-palette"></i> 用户管理</a>             
               </li>
            <% }else{ %>
                <li class="nav-item">
                    <a href="/admin/listuser"><i class="mdi mdi-palette"></i> 用户管理</a>             
                </li>
            <%}%>
        
            <% if(locals.path=='/admin/menu'){ %>
                 <li class="nav-item active">
                     <a href="/admin/menu"><i class="mdi mdi-format-align-justify"></i> 菜单管理</a>       
                </li>
            <% }else{ %>
                <li class="nav-item ">
                  <a href="/admin/menu"><i class="mdi mdi-format-align-justify"></i> 菜单管理</a> 
                 </li>
             <%}%>
        
           <% if(locals.path=='/admin/class'){ %>
                 <li class="nav-item active">
                     <a href="/admin/class"><i class="mdi mdi-language-javascript"></i> 文章分类</a>   
                 </li>
           <% }else{ %>
                 <li class="nav-item ">
                     <a href="/admin/class"><i class="mdi mdi-language-javascript"></i> 文章分类</a>                   
                 </li>
           <%}%>
        
           <% if(locals.path=='/admin/article'){ %>
                <li class="nav-item active">
                     <a href="/admin/article"><i class="mdi mdi-file-outline"></i> 文章管理</a>            
               </li>
          <% }else{ %>
               <li class="nav-item ">
                    <a href="/admin/article"><i class="mdi mdi-file-outline"></i> 文章管理</a>            
               </li>
          <%}%>
        
         <% if(locals.path=='/admin/banner'){ %>
               <li class="nav-item active">
                    <a href="/admin/banner"><i class="mdi mdi-menu"></i> 轮播图管理</a>              
               </li>
           <% }else{ %>
                <li class="nav-item ">
                    <a href="/admin/banner"><i class="mdi mdi-menu"></i> 轮播图管理</a>              
                </li>
           <%}%>                   
         </ul>
        </nav>

        <div class="sidebar-footer">
            <p class="copyright">Copyright &copy; 2019.初心教育 All rights reserved.</p>
        </div>
    </div>

</aside>